package com.woniu.communitymanagement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 房屋表
 * @TableName house
 */
@TableName(value ="house")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class House implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 楼层
     */
    @TableField(value = "storey")
    private Integer storey;
    /**
     * 房号
     */
    @TableField(value = "numbers")
    private String numbers;
    /**
     * 面积
     */
    @TableField(value = "status")
    private Integer status;
    /**
     * 入住时间
     */
    @TableField(value = "into_date")
    private String intoDate;
    /**
     * 关联楼宇表主键
     */
    @TableField(value = "building_id")
    private Integer buildingId;
    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;
    /**
     * 面积
     */
    @TableField(value = "area")
    private Double area;

    private String buildingNumber;
    private String units;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}